import React from 'react';
//antd
import { Layout } from 'antd'
//css
import "./layout.scss"
//组件
import Aside from './components/aside';
import ContainerRouter from '../../components/containerMain/index'
const { Header, Sider, Content } = Layout;
function Index(props) {
    return (
        <div>
            <Layout className='layout-wrap'>
                <Sider width='250px'>
                    <Aside/>
                </Sider>
                <Layout>
                    <Header className="layout-header">Header</Header>
                    <Content className="layout-main">
                        <ContainerRouter></ContainerRouter>
                    </Content>
                </Layout>
            </Layout> 
        </div>
    )
}
export default Index